package space.xxhui.fortest;

import org.apache.ibatis.annotations.ResultMap;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;
import space.xxhui.service.TestService;

import java.awt.print.Pageable;

/**
 * Created by hui on 2017/7/19.
 */
@Controller
public class NormalController {
    @Autowired
    private TestService testService;

    @RequestMapping("/normal")
    public String testPage(Model model){
        model.addAttribute("msg",testService.sysSomething());
        return "page";
    }
}
